package com.cxc.factory.abstractdemo;

import com.cxc.factory.Fruite;

public class AbstractFactoryTest {

    public static void main(String[] args) {

        FruiteFactory northFruitFactory = new NorthFruitFactory();
        northFruitFactory.getApple().get();
        northFruitFactory.getBanana().get();

        FruiteFactory southFruitFactory = new SouthFruitFactory();
        southFruitFactory.getApple().get();
        southFruitFactory.getBanana().get();


    }
}
